similarity

open override fun similarity(s1: String, s2: String): Double(source)

Computes the N-Gram similarity of two strings.

Return

The normalized N-Gram similarity.

Parameters

s1

The first string.

s2

The second string.

See also